
<div id="dataArea">
    <form role="form" method="post" action="{:U(ACTION_NAME)}">
        <!-- general form elements -->
        <div class="box-body" style="padding-bottom:0">

            <form role="form" method="post" action="{:U(ACTION_NAME)}">

                <div class="col-md-6">
                    <!-- general form elements -->
                    <div class="box box-primary">
                        <div class="box-body">
                            <div class="form-group">
                                <label for="title">文档标题</label>
                                <input type="text" placeholder="" id="title" name="title" value="新建文档" class="form-control">
                            </div>

                            <div class="form-group">
                                <label for="pid">上级文档</label>
                                <select id="pid" name="pid" class="form-control">
                                    <option value="0">--根文档--</option>
                                    <volist name="node" id="n">
                                        <if condition="$n[_level] lt 3">
                                            <option value="{$n.aid}"<if condition="$n[aid] eq $pid">selected="selected"</if>>{$n._name}</option>
                                        </if>
                                    </volist>
                                </select>
                            </div>

                            <div class="form-group">
                                <label for="list_order">排序</label>
                                <input type="text" placeholder="" id="list_order" name="list_order" value="0" class="form-control took-w80">
                            </div>

                        </div><!-- /.box-body -->
                    </div><!-- /.box -->
                </div>
                <!-- /.col-md -->

                <div class="col-md-6">
                    <!-- general form elements -->
                    <div class="box box-primary">
                        <div class="box-body">

                            <div class="form-group">
                                <label>状态</label>
                                <div class="radio">
                                    <label>
                                        <input type="radio" id="statusRadio1" name="status" value="1" />
                                        显示
                                    </label>
                                </div>
                                <div class="radio">
                                    <label>
                                        <input type="radio" id="statusRadio2" name="status" value="0" checked="checked" />
                                        隐藏
                                    </label>
                                </div>
                            </div>

                            <div class="form-group">
                                <label for="filename">文档名称 <span class="text-red">(Markdown文件名)</span></label>
                                <input type="text" placeholder="" id="filename" name="filename" value="" class="form-control">
                            </div>

                        </div><!-- /.box-body -->
                    </div><!-- /.box -->
                </div>
                <!-- /.col-md -->

            </form>

        </div><!-- /.box-body -->
    </form>
</div>